package com.zoweunion.mechanic.dao.base;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface CarModelManagementDao {

    List<Map<String, Object>> list(Map<String, Object> params);

    int listCount(Map<String, Object> params);

    int insert(Map<String, Object> params);

    Map<String, Object> detail(Map<String, Object> params);

    int update(Map<String, Object> params);

    int delete(Map<String, Object> params);

    Map<String, Object>  selectFuelTank(@Param("thingsId") String thingsId);

    void updateFuelTank(@Param("map")Map<String, Object> map);

    Map<String, Object> selectInfo(@Param("map")Map<String, Object> map);

    void insertFuelTank(@Param("map")Map<String, Object> objectMap);
}
